package com.test.pattern.adapter.class_adapter;

/**
 * @ClassName: Computer
 * @description: 计算机类
 * @author: Mr du
 * @create: 2024-02-20 21:54
 */
public class Computer {

    //从sd卡中读取数据
    public String readSD(SDCard sdCard){
        if(sdCard == null) {
            throw new NullPointerException("sd card null");
        }
        return sdCard.readSD();
    }
}
